package heap;

import java.io.IOException;

import chainexception.ChainException;
import global.RID;

public interface HeapFileInterface {

	void deleteFile(String fileName);

	RID insertRecord(byte[] recPtr) throws ChainException;

	boolean deleteRecord(RID rid);

	boolean updateRecord(RID rid, Tuple newTuple) throws InvalidTupleSizeException, IOException, InvalidSlotNumberException, ChainException;

	Tuple getRecord(RID rid);

	Scan openScan();

}
